import configparser


# 读取配置文件
def config_read(self, key, path='../conf/config.ini'):
    conf = configparser.ConfigParser()
    conf.read(path)
    res = conf.get('TEST_SERVER', key)
    return res


if __name__ == '__main__':
    pass
